-- GENERATED SPELL FOR [Stonewing Slayer] --


function spell0_16324(pUnit, Event) --@Rend Flesh,n/a--
pUnit:FullCastSpellOnTarget(3147,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_16324', 12000, 1)
end

function Sorts_16324(pUnit, Event)
local choix_sorts_16324 = math.random(0, 0)
if choix_sorts_16324 == 0 then
pUnit:RegisterEvent('spell0_16324', 1, 1)
end
end

function mob16324_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_16324', math.random(1500, 3000), 1)
end

function mob16324_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16324_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob16324_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(16324, 1, 'mob16324_Action')
RegisterUnitEvent(16324, 2, 'mob16324_Leave')
RegisterUnitEvent(16324, 3, 'mob16324_Kill')
RegisterUnitEvent(16324, 4, 'mob16324_Die')
